﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using GameEvolve;

namespace WargameForDistribution
{
    public static class DataFactory
    {
        public static GameEvolver game;
        public static UdpServer UdpServer;
        public static void Init()
        {
            WarMatchs.Init();
            UdpServer = new UdpServer(WarMatchs.ServerIP, WarMatchs.ServerPort);

            game = new GameEvolver(WarMatchs.scenarioroot, WarMatchs.maproot, WarMatchs.judge_tables_root);
            UdpServer.Start();
        }

    }
}

